package top.szhome.framework.starter.cloud;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;
import top.szhome.framework.core.tools.constant.SzhomeConstant;

import java.lang.annotation.*;

/**
 * 微服务应用
 *
 * @author 唐加利
 * @date 2023/8/15
 **/
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@SpringBootApplication
@EnableDiscoveryClient
@RefreshScope
@EnableFeignClients(SzhomeConstant.BASE_PACKAGE)
public @interface SzhomeCloudApplication {

}
